//配置文件
var _ = require('underscore');
_.mixin(require('../../Gruntfile/underscore.mixin'));
var commonConfig = require('../../common/config');

module.exports = {
    /*
     打包分组规则
     */
    group: {
        frame: ['frame'],
        page: ['page'],
    },
    /*
     配置依赖
     deps中jquery可以写成"$"、"jquery"两种形式
     */
    require: _.extend({
        listTable: {
            path: '__VENDOR__/jquery/plugins/listTable',
            deps: ['$']
        },
        treeTable: {
            path: '__VENDOR__/jquery/plugins/jquery.treetable',
            deps: ['$']
        },
        jq_tools: {
            path: '__VENDOR__/jquery/plugins/jquery.tools.min',
            deps: ['$']
        },
        colorpicker: {
            path: '__VENDOR__/jquery/plugins/colorpicker',
            deps: ['$']
        },
        jq_form: {
            path: '__VENDOR__/jquery/plugins/jquery.form',
            deps: ['$']
        },
        fileuploader: {
            path: '__VENDOR__/jquery/plugins/fileuploader',
            deps: ['$']
        },
        formvalidator: {
            path: '__VENDOR__/jquery/plugins/formvalidator.min',
            deps: ['$']
        },
        zhiphp: {
            path: '__VENDOR__/jquery/plugins/zhiphp',
            deps: ['$', 'fileuploader']
        }
    }, commonConfig.require)
};